<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>
			<div style="float:left;">
				共 ${pageView.totalRecord}条记录 
				&nbsp;&nbsp;
				每页 ${pageView.maxResult} 条
				&nbsp;&nbsp;
				当前第<font color=red>${pageView.currentPage}</font>&nbsp;/&nbsp;${pageView.totalPage} 页 
			</div>
			<div style="float:right;">
				<a href="${path}${param.action}?pageView.currentPage=1${params}${urlParam}">首页  </a>
				<a href="${path}${param.action}?pageView.currentPage=${pageView.currentPage==1?1:pageView.currentPage-1}${params}${urlParam}">上一页 </a>
				【
					<c:forEach var="index" varStatus="vs" begin="${pageView.pageIndex.startindex}" end="${pageView.pageIndex.endindex}">
						<c:choose>
							<c:when test="${pageView.currentPage == index}">
								<a href="${path}${param.action}?pageView.currentPage=${index}${params}${urlParam}"><span style="color:red;font-weight:bold;">${index}</span></a>
							</c:when>
							<c:otherwise>
								<a href="${path}${param.action}?pageView.currentPage=${index}${params}${urlParam}">${index}</a>
							</c:otherwise>
						</c:choose>
						<c:if test="${vs.count < pageView.pageIndex.endindex && vs.count < pageView.pageCode}">&nbsp;</c:if>
					</c:forEach>
				】 
				<a href="${path}${param.action}?pageView.currentPage=${pageView.currentPage>=pageView.totalPage?pageView.totalPage:pageView.currentPage+1}${params}${urlParam}">下一页 </a>
				<a href="${path}${param.action}?pageView.currentPage=${pageView.totalPage}${params}${urlParam}">尾页</a>  
				
				&nbsp;&nbsp;
				
				转到第 <input id="goPage" type="text" class="inputText" value="${pageView.currentPage}">页
				<script type="text/javascript">
					function goPage() {
						var s = $("#goPage") ;
						if(s.val() <= ${pageView.totalPage}) {
							window.location="${path}${param.action}?pageView.currentPage="+s.val()+"${params}${urlParam}";
						} else {
							alert("找不到该页") ;
						}
					}
				</script>
				<input type="button" class="inputButton" onclick="goPage()" value="跳转"/>
			</div>
			
			</div>